ICommand Class Reference

#include <app/ICommand.h>

Inheritance diagram for ICommand:

IInterface SAtom BnCommand BCommand BUnixCommand List of all members.

Public Types

typedef SVector< SValue > ArgList

Public Member Functions

virtual void AddCommand (const SString &name, const sptr< ICommand > &command)=0
virtual sptr< IByteOutput > ByteError () const =0
virtual sptr< IByteInput > ByteInput () const =0
virtual sptr< IByteOutput > ByteOutput () const =0
virtual SString Documentation () const =0
virtual SValue Environment () const =0
virtual sptr< ICommand > GetCommand (const SString &name) const =0
virtual SValue GetProperty (const SValue &key) const =0
status_t LinkCommand (const sptr< IBinder > &to, const SValue &mappings, uint32_t flags=0)
virtual void RemoveCommand (const SString &name)=0
virtual void RemoveProperty (const SValue &key)=0
virtual SValue Run (const ArgList &args)=0
virtual void SetByteError (const sptr< IByteOutput > &value)=0
virtual void SetByteInput (const sptr< IByteInput > &value)=0
virtual void SetByteOutput (const sptr< IByteOutput > &value)=0
virtual void SetEnvironment (const SValue &value)=0
virtual void SetFileDescriptors (const SValue &fds)=0
virtual void SetProperty (const SValue &key, const SValue &value)=0
virtual sptr< ICommand > Spawn (const SString &command) const =0
status_t UnlinkCommand (const sptr< IBinder > &to, const SValue &mappings, uint32_t flags=0)

Protected Member Functions

 ICommand ()
virtual ~ICommand ()

Member Typedef Documentation

typedef SVector<SValue> ArgList
 


Constructor & Destructor Documentation

ICommand (   )  [inline, protected]
 

virtual ~ICommand (   )  [protected, virtual]
 


Member Function Documentation

virtual void AddCommand (  const SString &  name,
const sptr< ICommand > &  command
)  [pure virtual]
 

Implemented in BCommand.

virtual sptr<IByteOutput> ByteError (   )  const [pure virtual]
 

Implemented in BCommand.

virtual sptr<IByteInput> ByteInput (   )  const [pure virtual]
 

Implemented in BCommand.

virtual sptr<IByteOutput> ByteOutput (   )  const [pure virtual]
 

Implemented in BCommand.

virtual SString Documentation (   )  const [pure virtual]
 

Implemented in BCommand.

virtual SValue Environment (   )  const [pure virtual]
 

Implemented in BCommand.

virtual sptr<ICommand> GetCommand (  const SString &  name  )  const [pure virtual]
 

Implemented in BCommand.

virtual SValue GetProperty (  const SValue &  key  )  const [pure virtual]
 

Implemented in BCommand.

status_t LinkCommand (  const sptr< IBinder > &  to,
const SValue &  mappings,
uint32_t  flags = 0
)  [inline]
 

virtual void RemoveCommand (  const SString &  name  )  [pure virtual]
 

Implemented in BCommand.

virtual void RemoveProperty (  const SValue &  key  )  [pure virtual]
 

Implemented in BCommand.

virtual SValue Run (  const ArgList &  args  )  [pure virtual]
 

virtual void SetByteError (  const sptr< IByteOutput > &  value  )  [pure virtual]
 

Implemented in BCommand.

virtual void SetByteInput (  const sptr< IByteInput > &  value  )  [pure virtual]
 

Implemented in BCommand.

virtual void SetByteOutput (  const sptr< IByteOutput > &  value  )  [pure virtual]
 

Implemented in BCommand.

virtual void SetEnvironment (  const SValue &  value  )  [pure virtual]
 

Implemented in BCommand.

virtual void SetFileDescriptors (  const SValue &  fds  )  [pure virtual]
 

Implemented in BCommand.

virtual void SetProperty (  const SValue &  key,
const SValue &  value
)  [pure virtual]
 

Implemented in BCommand.

virtual sptr<ICommand> Spawn (  const SString &  command  )  const [pure virtual]
 

Implemented in BCommand.

status_t UnlinkCommand (  const sptr< IBinder > &  to,
const SValue &  mappings,
uint32_t  flags = 0
)  [inline]
 


The documentation for this class was generated from the following file: