## NAME

ACE_IO_Cntl_Msg - Data format for IOCTL messages

## SYNOPSIS

    #include <ace/IO_Cntl_Msg.h>

    class ACE_IO_Cntl_Msg
    {
      public:
            enum ACE_IO_Cntl_Cmds{ SET_LWM = 1,
            GET_LWM = 2,
            SET_HWM = 3,
            GET_HWM = 4,
            MOD_LINK = 5,
            MOD_UNLINK = 6 };

        inline ACE_IO_Cntl_Msg (ACE_IO_Cntl_Cmds c);
        inline ACE_IO_Cntl_Cmds cmd (void);
        inline void cmd (ACE_IO_Cntl_Cmds c);
        inline size_t count (void);
        inline void count (size_t c);
        inline int error (void);
        inline void error (int e);
        inline int rval (void);
        inline void rval (int r);
        void dump (void) const;
        ACE_ALLOC_HOOK_DECLARE;
      private:
        ACE_IO_Cntl_Cmds cmd_;
        size_t count_;
        int error_;
        int rval_;
    };

## Initialization method.

    inline ACE_IO_Cntl_Msg (ACE_IO_Cntl_Cmds c);

Initialize the control message.

## Get/set methods

    inline ACE_IO_Cntl_Cmds cmd (void);

Get command.

    inline void cmd (ACE_IO_Cntl_Cmds c);

Set command.

    inline size_t count (void);

Get count.

    inline void count (size_t c);

Set count.

    inline int error (void);

Get error.

    inline void error (int e);

Set error.

    inline int rval (void);

Get return value.

    inline void rval (int r);

Set return value.

    void dump (void) const;

Dump the state of an object.

    ACE_ALLOC_HOOK_DECLARE;

Declare the dynamic allocation hooks.

## AUTHOR

Doug Schmidt

## LIBRARY

ace