changeset 305:dc9d06c60899

private
author kono@localhost.localdomain
date Mon, 08 Jun 2009 18:36:06 +0900
parents e679d401eab3
children f8184487cf2c
files include/TaskManager/SchedTaskImpl.h
diffstat 1 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/include/TaskManager/SchedTaskImpl.h	Mon Jun 08 18:28:18 2009 +0900
+++ b/include/TaskManager/SchedTaskImpl.h	Mon Jun 08 18:36:06 2009 +0900
@@ -15,6 +15,7 @@
 
     BASE_NEW_DELETE(SchedTask);
 
+private:
     /* variables */
 
     // Task を実行するスケジューラ自身
@@ -58,11 +59,8 @@
     void (SchedTaskImpl::*ex_exec)();
     void (SchedTaskImpl::*ex_write)();
     SchedTaskBase* (SchedTaskImpl::*ex_next)();
-    
+   
     /* functions */
-    void __setRenew();
-    void __init__(TaskListPtr _list, TaskPtr _task, int index,
-		  ListDataPtr rbuf, ListDataPtr wbuf, Scheduler* sc);
 
     // override
     void read();
@@ -99,6 +97,12 @@
     void ex_write_renew();
     SchedTaskBase* ex_next_renew();
 
+public:
+    /* functions */
+
+    void __setRenew();
+    void __init__(TaskListPtr _list, TaskPtr _task, int index,
+		  ListDataPtr rbuf, ListDataPtr wbuf, Scheduler* sc);
 
     //---  User API ---
     int get_cpuid();
@@ -128,6 +132,7 @@
     void dma_store(void *buf,uint32 addr, uint32 size, uint32 mask);
     void dma_wait(uint32 mask);
 
+private:
     class STaskManager {
     public:
 	STaskManager(SchedTaskImpl *_t) {